﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 商品规格基础
/// </summary>
public partial class SGoodsSpecBase
{
    /// <summary>
    /// 自增id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 商品id
    /// </summary>
    public uint GoodsId { get; set; }

    /// <summary>
    /// 销售价格
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    /// 库存
    /// </summary>
    public uint Inventory { get; set; }

    /// <summary>
    /// 重量（kg） 
    /// </summary>
    public decimal Weight { get; set; }

    /// <summary>
    /// 编码
    /// </summary>
    public string Coding { get; set; } = null!;

    /// <summary>
    /// 条形码
    /// </summary>
    public string Barcode { get; set; } = null!;

    /// <summary>
    /// 原价
    /// </summary>
    public decimal OriginalPrice { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }
}
